import requests
import json


headers = {
    "a": "dD69NxH+UKPS36c70L9h0ikNz7xrFM+kGQApnAIMxr0maMt6eNRvFyW3VdVxQ3PqIF3mT+nk+WEqrQFTRMwDVRoHHJ4WVyTH6oe0ZSq2LP9fTJFWT57IvBuc93OOutOTg/o3qKG9j47cA3h8F3iuQKdQ3l0AsIWnX8wH+w1DycnGSfPkJc75wer9ga2Khkr0Njw32uH1QcpJulrcuyEIFg==",
    "accept": "application/json, text/javascript, */*; q=0.01",
    "accept-language": "zh-CN,zh;q=0.9",
    "b": "b1ad04363a940bf844c2160dfc3753da0480c49d6f085ff06f8fa04cf302fbef97e27dd414fb9deda2869cb0999f847223c3d3d5162c6f610e231b07929eded9",
    "cache-control": "no-cache",
    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
    "origin": "https://match.yuanrenxue.cn",
    "pragma": "no-cache",
    "priority": "u=0, i",
    "referer": "https://match.yuanrenxue.cn/match/22",
    "sec-ch-ua": "\"Not;A=Brand\";v=\"99\", \"Google Chrome\";v=\"139\", \"Chromium\";v=\"139\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36",
    "x-requested-with": "XMLHttpRequest"
}
cookies = {
    "sessionid": "ao6ic6rmuqpb0fs0voqj1cr6c8xh87kr",
    "qpfccr": "true",
    "no-alert3": "true"
}
url = "https://match.yuanrenxue.cn/api/match/22"
data = {
    "page": 2,
    "url": "https://match.yuanrenxue.cn/match/22",
    "c": "[\"sessionid=ao6ic6rmuqpb0fs0voqj1cr6c8xh87kr\",\" qpfccr=true\",\" no-alert3=true\"]"
}
data = json.dumps(data, separators=(',', ':'))
response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text)
print(response)